Matthias Clasen [Fri, 12 Jun 2015 10:35:23 +0000 (06:35 -0400)]
assistant: Drop hardcoded padding
This means the pages themselves will be responsible for setting
suitable padding.
https://bugzilla.gnome.org/show_bug.cgi?id=750631
Jordi Mas [Sun, 14 Jun 2015 06:32:03 +0000 (08:32 +0200)]
Fixes to Catalan translation
Matthias Clasen [Sun, 14 Jun 2015 03:00:41 +0000 (23:00 -0400)]
Only build testfontchooserdialog on linux
We are using this to test pango functionality that
uses fontconfig apis, so this doesn't build on OS X
or Windows anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=750892
Matthias Clasen [Sun, 14 Jun 2015 02:32:05 +0000 (22:32 -0400)]
color editor: make popups toggleable
The popups on the color editor are somewhat hard to get rid of.
Arrange things so that clicking the same control again dismisses
the current popup.
Matthias Clasen [Sun, 14 Jun 2015 01:57:07 +0000 (21:57 -0400)]
Don't show a menu on the color editor swatch
There's nothing to customize here, so no need to show a menu.
Matthias Clasen [Sun, 14 Jun 2015 01:56:41 +0000 (21:56 -0400)]
Add a way to avoid menu on color swatches
Matthias Clasen [Sat, 13 Jun 2015 21:57:19 +0000 (17:57 -0400)]
Avoid uninitialized variables
clang complains that these may be used uninitialized.
Matthias Clasen [Sat, 13 Jun 2015 21:57:09 +0000 (17:57 -0400)]
entry: Drop an unused variable
Matthias Clasen [Sat, 13 Jun 2015 21:56:55 +0000 (17:56 -0400)]
Drop an unused variable
Matthias Clasen [Sat, 13 Jun 2015 21:49:54 +0000 (17:49 -0400)]
Remove unused variables
Matthias Clasen [Sat, 13 Jun 2015 21:49:20 +0000 (17:49 -0400)]
Ensure a variable is initialized
clang complained about transient_for being used uninitialized.
Matthias Clasen [Sat, 13 Jun 2015 21:49:06 +0000 (17:49 -0400)]
Remove an unused variable
Matthias Clasen [Sat, 13 Jun 2015 21:47:56 +0000 (17:47 -0400)]
broadway: Avoid compiler warnings
clang doesn't like self-assignment.
Matthias Clasen [Sat, 13 Jun 2015 20:57:32 +0000 (16:57 -0400)]
GtkColorEditor: Remove old todo
Most of this is done, and the rest will not happen because
of this note.
Matthias Clasen [Sat, 13 Jun 2015 17:45:57 +0000 (13:45 -0400)]
widget-factory: More popover examples
Add an example for text input in a popover. This leads to nested
popovers with touch selection, and does not currently work.
Matthias Clasen [Sat, 13 Jun 2015 16:02:33 +0000 (12:02 -0400)]
widget-factory: Add horizontally linked entries
It happens in some places, so artists need an example to
make it look good.
Ting-Wei Lan [Sat, 13 Jun 2015 05:45:57 +0000 (13:45 +0800)]
Fix 'void function should not return void expression' warning for clang
https://bugzilla.gnome.org/show_bug.cgi?id=750888
Ting-Wei Lan [Sat, 13 Jun 2015 05:44:24 +0000 (13:44 +0800)]
Fix return value error in _gtk_text_handle_set_direction
https://bugzilla.gnome.org/show_bug.cgi?id=750888
Matthias Clasen [Sat, 13 Jun 2015 03:55:30 +0000 (23:55 -0400)]
Redo font map support in GtkFontChooser
We can't add properties to the interface, since it breaks
3rd party implementations of the GtkFontChooser interface.
These exist, for example in gnumeric.
So, instead of a new property, add getter/setter vfuncs.
Benjamin Otte [Fri, 12 Jun 2015 19:23:34 +0000 (21:23 +0200)]
fontchooser: Don't cause "row-changed" signal in cell data func
The font chooser delays creating the font description from the font face
as long as possible (it's slow). Because we use fixed height mode, we
only have to create font descriptions for rows we are actually going to
show.
This was achieved by looking at the font description column and if it
was NULL, we created a font description and gtk_list_stiore_set() it.
Unfortunately this caused a "row-changed" signal to be emitted and this
emission could happen during the cell data func.
And that caused infinite loops with accessibility when you were unlucky.
This change replaces the NULL font description with an empty one and
instead of setting the correct font description, we
pango_font_description_merge() it in. This way, the list store doesn't
change and no signals are emitted.
https://bugzilla.redhat.com/show_bug.cgi?id=
1197267
Carlos Garnacho [Fri, 12 Jun 2015 13:05:33 +0000 (15:05 +0200)]
popover: Avoid hiding modal popovers if another popover is taking focus
Due to popover modality itself, there's quite high chances the popover
stealing focus has been triggered from within, so stay friendly to it.
Hiding the popover here will only hide the grabbing popover too if this
happens.
https://bugzilla.gnome.org/show_bug.cgi?id=750741
Carlos Garnacho [Fri, 12 Jun 2015 13:03:41 +0000 (15:03 +0200)]
window: Avoid rising the window of already shown popovers
This breaks stacking, as popovers are repositioned sort of frequently
(even more after show/hide animations).
https://bugzilla.gnome.org/show_bug.cgi?id=750741
Cosimo Cecchi [Thu, 11 Jun 2015 03:21:57 +0000 (20:21 -0700)]
reftests: fix style class syntax in CSS file
Fixes reftests.
https://bugzilla.gnome.org/show_bug.cgi?id=750605
Cosimo Cecchi [Thu, 11 Jun 2015 03:52:14 +0000 (20:52 -0700)]
testsuite: add a test for non-square symbolic icons
To verify the previous fix.
https://bugzilla.gnome.org/show_bug.cgi?id=750605
Cosimo Cecchi [Mon, 8 Jun 2015 23:35:31 +0000 (16:35 -0700)]
icontheme: don't modify symbolic SVG dimensions when recoloring
When recoloring symbolic SVG, do not modify the original width and
height of the passed-in file; the function later will scale the image
through gdk_pixbuf_new_from_stream_at_scale(), but we should still
use the original size to create the proxy SVG, or the image will
possibly be doubly-resized or blurry.
https://bugzilla.gnome.org/show_bug.cgi?id=750605
Matthias Clasen [Fri, 12 Jun 2015 12:26:18 +0000 (08:26 -0400)]
recent chooser: Make it expand
It is expected that the list fills the available space.
https://bugzilla.gnome.org/show_bug.cgi?id=750690
Carlos Garnacho [Fri, 12 Jun 2015 11:30:34 +0000 (13:30 +0200)]
entry: Ensure we unset the magnifier widget on ::destroy
Otherwise there's dangling signal handlers which cause warnings
at the time we attempt to disconnect these.
Carlos Garnacho [Fri, 12 Jun 2015 11:04:45 +0000 (13:04 +0200)]
textview: Set handles' mode to "none" if showing the bubble
show_or_hide_handles() tries to disable visibility when the popover is
shown, although it triggers a bit late, and lets the handles flash briefly
if both popover and handles try to show at the same time (eg. when
pressing on the selection of a previously unfocused textview, the handles
were previously hidden, so they try to show again on focus in).
Carlos Garnacho [Fri, 12 Jun 2015 10:45:03 +0000 (12:45 +0200)]
textview: Perform tougher handle visibility checks after hiding the popover
The handles might fall outside the visible area, and shouldn't be shown
then. Just call gtk_text_view_update_handles() which will perform these
checks, and keep the handle conveniently hidden.
This was leading to unexpectedly visible handles (and in the
wrong/previous position, the handle code doesn't relocate the widget
it's about to hide) when "select all" was selected in the popover on
a textview needing scrollbars.
and extending the selection beyond the view above and/or below.
Carlos Garnacho [Fri, 12 Jun 2015 09:59:47 +0000 (11:59 +0200)]
popover: Be lenient wrt visibility of popovers too close to widget borders
The check used to hide the popover if the pointed area fell partly out of
the widget allocation, textviews now can trigger that with text selections
too close to the visible edge, as a small extra area around is now reserved.
The check has been changed to only hide the popover if the pointed area
falls completely outside the widget allocation.
Carlos Garnacho [Thu, 11 Jun 2015 15:10:54 +0000 (17:10 +0200)]
texthandle: Remove knowledge about window borders
We need to expand beyond these if necessary, so don't artificially
limit things here.
Carlos Garnacho [Wed, 10 Jun 2015 19:02:34 +0000 (21:02 +0200)]
window: Allow more space at edges for popovers
We're clamping to the visible window edge, which misplaces text handles.
Carlos Garnacho [Thu, 11 Jun 2015 14:18:02 +0000 (16:18 +0200)]
entry: Set text direction information on text handles
This way the handles point to the right side on the presence of rtl/ltr
text.
Carlos Garnacho [Wed, 10 Jun 2015 18:53:12 +0000 (20:53 +0200)]
textview: set text direction information on text handles
This makes them point to the correct place, given the theme supports
this.
Carlos Garnacho [Wed, 10 Jun 2015 18:52:02 +0000 (20:52 +0200)]
texthandle: Handle ltr/rtl positioning
This setting is per handle, as is dependent on the selected text, rather
than the locale.
Carlos Garnacho [Wed, 10 Jun 2015 18:54:09 +0000 (20:54 +0200)]
Adwaita: support rtl on text handles
Just use the opposite variant for the opposite LTR side.
Carlos Garnacho [Wed, 10 Jun 2015 17:54:34 +0000 (19:54 +0200)]
texthandles: Move start handle to bottom
The asset is going to change to point upwards, so physically place
the handle below the text position.
https://bugzilla.gnome.org/show_bug.cgi?id=750692
Jakub Steiner [Wed, 10 Jun 2015 17:36:48 +0000 (19:36 +0200)]
Adwaita: update text selection handles
- we'll put both handles to teh bottom
- renamed top, bottom to start and end. will be easier
for rtl too.
https://bugzilla.gnome.org/show_bug.cgi?id=750692
Piotr Drąg [Thu, 11 Jun 2015 13:50:15 +0000 (15:50 +0200)]
docs: Fix some minor typos in comments in GtkWidget
Emmanuele Bassi [Thu, 11 Jun 2015 10:43:35 +0000 (11:43 +0100)]
settings: Fix the type annotation for color-hash
The (element-type) annotation cannot be used with properties that return
container types like GHashTable; we need to use the (type) annotation.
https://bugzilla.gnome.org/show_bug.cgi?id=750489
Emmanuele Bassi [Thu, 11 Jun 2015 10:40:37 +0000 (11:40 +0100)]
builder: Skip introspecting lookup_callback_symbol()
Opaque function pointers as return values are not really usable in high
level languages, even via introspection.
Emmanuele Bassi [Thu, 11 Jun 2015 10:39:38 +0000 (11:39 +0100)]
docs: Fix annotation for GtkGLArea::resize signal
We need to document all arguments for the signal, for both gtk-doc and
introspection.
Emmanuele Bassi [Wed, 10 Jun 2015 16:16:41 +0000 (17:16 +0100)]
docs: Improve deprecation notices for GtkSettings
The button and menu item icons settings are deprecated; application
developers should control whether or not a widget should show an icon,
using the existing API.
https://bugzilla.gnome.org/show_bug.cgi?id=750718
Emmanuele Bassi [Wed, 10 Jun 2015 16:12:02 +0000 (17:12 +0100)]
docs: Improve deprecation notices for GtkMisc
Point to the replacement properties and functions.
https://bugzilla.gnome.org/show_bug.cgi?id=750718
Emmanuele Bassi [Wed, 10 Jun 2015 16:07:41 +0000 (17:07 +0100)]
docs: Improve deprecation notice for rules-hint property
Specify that the theme is wholly in control.
https://bugzilla.gnome.org/show_bug.cgi?id=750718
Emmanuele Bassi [Wed, 10 Jun 2015 16:06:46 +0000 (17:06 +0100)]
docs: Improve deprecation notices for GtkImageMenuItem properties
Should help porting code away from the deprecated GtkImageMenuItem
class.
https://bugzilla.gnome.org/show_bug.cgi?id=750718
Emmanuele Bassi [Wed, 10 Jun 2015 16:00:56 +0000 (17:00 +0100)]
docs: Add deprecation notices for GtkAlignment properties
We want people to port their code away from deprecated classes, and this
helps finding a replacement.
https://bugzilla.gnome.org/show_bug.cgi?id=750718
Carlos Soriano [Wed, 10 Jun 2015 15:42:10 +0000 (17:42 +0200)]
gtklistboxrow: propagate in the draw vfunc
So objects connected by g_signal_connect_after actually get
the signal.
This was causing an issue in the dnd highlight, since there
a cairo rectangle is draw using g_signal_connect_after on the draw
signal.
Matthias Clasen [Wed, 10 Jun 2015 10:20:18 +0000 (06:20 -0400)]
entry: Select word on double tap
The same approach as taken for GtkTextView in the previous commit.
Matthias Clasen [Wed, 10 Jun 2015 03:29:47 +0000 (23:29 -0400)]
text view: Select word on double tap
This is an initial attempt at implementing double-tap selection.
Matthias Clasen [Wed, 10 Jun 2015 02:29:26 +0000 (22:29 -0400)]
gtk-demo: Make hypertext demo work with touch
Make tapping on the links work.
Jonas Ådahl [Fri, 5 Jun 2015 05:29:22 +0000 (13:29 +0800)]
wayland: Improve guessing of popup placement for detached popup menus
If a menu was not attached to any widget, we try to calculate its
position given where the grabbed pointer is and what window has its
focus. Previously we failed to do so if a "transfer window" was used
for the grab, and this patch adds a code path that, if the menu window
itself didn't have the grab, look for the transfer window and get the
grab device from there.
https://bugzilla.gnome.org/show_bug.cgi?id=748951
Jonas Ådahl [Fri, 5 Jun 2015 05:35:21 +0000 (13:35 +0800)]
wayland: Don't try to guess the popup menu placement when it was set
If a position was already explicitly set, don't try to guess the
position of popup menus by looking at the pointer position, just use
the set coordinates.
https://bugzilla.gnome.org/show_bug.cgi?id=748951
Jonas Ådahl [Fri, 22 May 2015 08:39:31 +0000 (16:39 +0800)]
wayland: Position popups relative to the parent surface
According to the xdg-shell protocol specification the (x, y) coordinates
passed when creating a popup surface is relative to top left corner of
the parent surface, but prior to this patch, if the parent surface
was an xdg_surface, we'd position it relative to top left corner of the
window geometry of that xdg_surface.
https://bugzilla.gnome.org/show_bug.cgi?id=749717
Matthias Clasen [Wed, 10 Jun 2015 01:19:17 +0000 (21:19 -0400)]
GtkTextHandle: Improve handle positioning
When we are close the window edge, we need to shrink the 'invisible
border' around the handle to avoid mispositioning it. A fiddly
calculation, but it works.
Matthias Clasen [Tue, 9 Jun 2015 23:07:34 +0000 (19:07 -0400)]
GtkTextHandle: drop non-implemented functions
Matthias Clasen [Tue, 9 Jun 2015 21:06:27 +0000 (17:06 -0400)]
GtkTextHandle: position handles properly
Move the handles so that the asymmetric assets align with the
start/end of the selection.
Matthias Clasen [Tue, 9 Jun 2015 19:50:50 +0000 (15:50 -0400)]
widget-factory: Improve touch selection example
Make the check buttons not take focus on click, so the popover
stays open.
Matthias Clasen [Tue, 9 Jun 2015 19:50:30 +0000 (15:50 -0400)]
entry: Make touch selection work with mouse
The buttons on the popover where stealing the focus from the text
view on click, causing the popover to be dismissed before the action
was taken. Fix this by making the buttons not take focus on click.
Matthias Clasen [Tue, 9 Jun 2015 19:49:10 +0000 (15:49 -0400)]
text view: Make touch selection work with mouse
The buttons on the popover where stealing the focus from the text
view on click, causing the popover to be dismissed before the action
was taken. Fix this by making the buttons not take focus on click.
Jakub Steiner [Tue, 9 Jun 2015 13:02:39 +0000 (15:02 +0200)]
adwaita: style tweaks to touch selections
- use dark theme assets for the checkboxes and radios
- darken the popover for legibility (white bg/black text is
really the most problematic background to have).
unfortunatley in terms of SCSS structure this is further digging us into the
hole of specificity. It would be much nicer to set the .osd class on the popover
and have everything just work. I'm sure we'll end up using OSD styled popovers
outside the touch context.
https://bugzilla.gnome.org/show_bug.cgi?id=750396
Jordi Mas [Tue, 9 Jun 2015 06:07:05 +0000 (08:07 +0200)]
Update Catalan translation
Matthias Clasen [Mon, 8 Jun 2015 23:04:06 +0000 (19:04 -0400)]
entry: Avoid criticals
After the recent changes, we could end up calling
gtk_entry_update_handles in cases where the text_handle
has not be created (e.g. when dragging text from an entry).
Avoid that.
Benjamin Otte [Mon, 8 Jun 2015 18:28:10 +0000 (20:28 +0200)]
widget: Clarify docs on gtk_widget_set_double_buffered()
Also make them more scary so people really really don't use it as a
random knob when trying to make things go fast.
//bugzilla.gnome.org/show_bug.cgi?id=750505
Rui Matos [Fri, 5 Jun 2015 17:21:40 +0000 (19:21 +0200)]
main: Push the current event on the stack before we start needing it
The changes in commit
13e22e20300b7312e52bba7d077fc7e231695fc1 made
_gtk_window_check_handle_wm_event() indirectly depend on
gtk_get_current_event_time() which relies on the current event being
available on the current_events stack.
Since the current event is only pushed on the stack afterwards we get
an invalid timestamp which breaks ewmh window moving.
This fixes the issue by pushing the current event before we start
relying on it being there in gtk_main_do_event() and, as a byproduct,
also fixes a potential memory leak when we have a rewritten event and
return early due to _gtk_window_check_handle_wm_event() being TRUE.
https://bugzilla.gnome.org/show_bug.cgi?id=750384
Matthias Clasen [Mon, 8 Jun 2015 01:52:35 +0000 (21:52 -0400)]
entry: Always clear handles for mouse interaction
There were some cases where we left a handle visible
during mouse interaction, which is a little weird.
Matthias Clasen [Mon, 8 Jun 2015 01:13:16 +0000 (21:13 -0400)]
entry: Move touch selection a little further away
Otherwise, it looks cramped, and we end up under the finger.
Matthias Clasen [Mon, 8 Jun 2015 00:41:16 +0000 (20:41 -0400)]
entry: Hide popover when touching elsewhere
Otherwise, the popover becomes 'sticky' and hard-to-dismiss.
Matthias Clasen [Mon, 8 Jun 2015 00:14:43 +0000 (20:14 -0400)]
entry: Use the drag-started signal
Use the drag-started signal to differentiate between drags that
move a handle and taps on a handle. Show the touch selection popup
for the latter, but not the former.
Matthias Clasen [Sun, 7 Jun 2015 23:31:06 +0000 (19:31 -0400)]
entry: Make handles come back reliably
We were setting the text handle mode to NONE too aggressively.
Matthias Clasen [Sun, 7 Jun 2015 18:01:39 +0000 (14:01 -0400)]
entry: Never show handles and popover at the same time
Hide the handles when the popover appears, and brind them back
when it disappears. This will need revisiting if we start using
the popover for mouse interaction as well, where we may not
want handles to show up.
Matthias Clasen [Sun, 7 Jun 2015 17:55:09 +0000 (13:55 -0400)]
entry: Shorten touch selection timeout
We don't want the popup to appear spontaneously, so eventually
the timeout may go away altogether. For now, shorten it to 50ms,
to avoid rewriting all the places where the timeout is set or
unset.
Matthias Clasen [Mon, 8 Jun 2015 01:48:35 +0000 (21:48 -0400)]
text view: Always clear handles for mouse interaction
There were some cases where we left a handle visible
during mouse interaction, which is a little weird.
Matthias Clasen [Sun, 7 Jun 2015 16:59:21 +0000 (12:59 -0400)]
text view: Move touch selection a little further away
Otherwise, it looks cramped, and we end up under the finger.
Matthias Clasen [Sun, 7 Jun 2015 16:46:11 +0000 (12:46 -0400)]
text view: Use the drag-started signal
Use the drag-started signal to differentiate between drags that
move a handle and taps on a handle. Show the touch selection popup
for the latter, but not the former.
Matthias Clasen [Sun, 7 Jun 2015 16:45:34 +0000 (12:45 -0400)]
GtkTextHandle: add a drag-started signal
This will be used to discriminate drags from taps.
Matthias Clasen [Sun, 7 Jun 2015 16:19:16 +0000 (12:19 -0400)]
text view: Don't popup after drag selection
Don't show the touch selection popover after a selection drag
ends. Instead, the popover will be triggered by an explicit
touch on the selection.
Matthias Clasen [Sun, 7 Jun 2015 16:12:43 +0000 (12:12 -0400)]
text view: Never show handles and popover at the same time
Hide the handles when the popover appears, and brind them back
when it disappears. This will need revisiting if we start using
the popover for mouse interaction as well, where we may not
want handles to show up.
Matthias Clasen [Sun, 7 Jun 2015 16:09:59 +0000 (12:09 -0400)]
text view: Shorten touch selection timeout
We don't want the popover to appear spontaneously, so eventually
the timeout may go away altogether. For now, shorten it to 50ms,
to avoid rewriting all the places where the timeout is set or
unset.
Daniel Mustieles [Mon, 8 Jun 2015 07:56:59 +0000 (07:56 +0000)]
Updated Spanish translation
Daniel Mustieles [Mon, 8 Jun 2015 07:56:26 +0000 (07:56 +0000)]
Updated Spanish translation
Matthias Clasen [Sun, 7 Jun 2015 05:24:13 +0000 (01:24 -0400)]
widget-factory: Improve context menu example
Show the text formatting in the menu / popover.
Matthias Clasen [Sun, 7 Jun 2015 05:12:18 +0000 (01:12 -0400)]
widget-factory: Demonstrate custom context menu items
Add bold/italics/underline styling to the context menu of
the 'Lorem ipsum...' text view in page 1. The point is not
to show good UI for this kind of styling, but to demonstrate
custom actions in the context menu / touch selection.
Matthias Clasen [Sun, 7 Jun 2015 05:11:32 +0000 (01:11 -0400)]
Adwaita: Some touch selection updates
Make touch selection popovers use osd style.
Matthias Clasen [Sun, 7 Jun 2015 05:08:33 +0000 (01:08 -0400)]
Update touch selection style
Update style for touch selection in GtkEntry and GtkTextView
according to https://wiki.gnome.org/Design/OS/Selections
Add 'Select All' to the default actions, change actions
to use icons and move the popover to the bottom. If there is
no selection, just offer to paste.
Timm Bäder [Sat, 6 Jun 2015 09:45:11 +0000 (11:45 +0200)]
gtkfilechooserbutton: Align the label to the left
Using GtkLabel's xalign property so the label doesn't jump around when
the button gets resized.
https://bugzilla.gnome.org/show_bug.cgi?id=750477
Matthias Clasen [Sat, 6 Jun 2015 21:13:22 +0000 (17:13 -0400)]
places sidebar: Make 'recent' work on other platforms
Since nautilus merge, we were not showing 'Recent' in the sidebar
if GIO did not support the recent: scheme. But the file chooser
can show recent files independent of gvfs - it loads the recent
files manually. This is relevant on Windows and OS X, where gvfs
is typically not used.
This commit adds a show-recent property which can be used to override
the recent: scheme check. We use it in the file chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=750068
Carlos Garnacho [Thu, 4 Jun 2015 17:49:33 +0000 (19:49 +0200)]
texthandle: Set prelight state on the pointer-interacted handle
This will be useful with the theming changes to come.
https://bugzilla.gnome.org/show_bug.cgi?id=750396
Carlos Garnacho [Thu, 4 Jun 2015 17:46:20 +0000 (19:46 +0200)]
texthandle: Allow setting individual states, and separately to handles
Now each handle gets its individual current state, and we can accumulate
more than one state on these.
https://bugzilla.gnome.org/show_bug.cgi?id=750396
Jakub Steiner [Thu, 4 Jun 2015 17:36:25 +0000 (19:36 +0200)]
Adwaita: updates style for text selection
- use consistent widget style. unfortunately using assets
- light/dark variant
- new assets for text selestions, using existing slider asset for
insertion point
https://bugzilla.gnome.org/show_bug.cgi?id=750396
Matthias Clasen [Fri, 5 Jun 2015 12:33:59 +0000 (08:33 -0400)]
Add a tree dnd testcase
This shows a minimal setup for enabling non-row DND from a treeview.
Alberts Muktupāvels [Thu, 4 Jun 2015 20:40:38 +0000 (23:40 +0300)]
gtkplug: set decorated to FALSE by default
The change in
c5e5ee67490e7e7af56052d8f8beb75db002c2f1 introduced
a regression - all GtkPlug windows has unexpected extra space. Fix
this by setting decorated to FALSE for GtkPlug window.
https://bugzilla.gnome.org/show_bug.cgi?id=750424
Carlos Soriano [Wed, 3 Jun 2015 12:58:04 +0000 (14:58 +0200)]
gtkrevealer: add css padding support
Add css padding support to GtkRevealer.
As a future work, GtkRevealer still needs to support the border
property.
https://bugzilla.gnome.org/show_bug.cgi?id=750338
Matthias Clasen [Thu, 4 Jun 2015 23:58:40 +0000 (19:58 -0400)]
GtkScale: Move marks inward
We don't want scale marks to affect scale sizing and positioning,
so draw them inside the range recangle. This avoids size changes
for marks that don't have labels, at least.
https://bugzilla.gnome.org/show_bug.cgi?id=749650
Balázs Úr [Thu, 4 Jun 2015 20:54:38 +0000 (20:54 +0000)]
Updated Hungarian translation
Matthias Clasen [Thu, 4 Jun 2015 19:14:04 +0000 (15:14 -0400)]
Trivial: remove outdated comment
Lapo Calamandrei [Thu, 4 Jun 2015 14:19:05 +0000 (16:19 +0200)]
Adwaita: entry linking logic change.
Use the same linking logic of buttons for entries, this avoids
specialcasing rtl.
Victor Ibragimov [Thu, 4 Jun 2015 05:43:19 +0000 (05:43 +0000)]
Updated Tajik translation
Emmanuele Bassi [Wed, 3 Jun 2015 13:07:29 +0000 (14:07 +0100)]
window: Check if we can use CSD before enabling them
The change in
03213b9509fc1df16c66194ea168aed6c15110e9 changed the rules
as to when CSD can be enabled, but it also unconditionally enables CSD
with the implicit assumption that client-side shadows were the real
issue, and that we could work around that by drawing our own borders.
This also means that setting a titlebar for a GtkWindow will enable CSD
unconditionally.
In reality, some window managers (like Matchbox) *only* support
server-side decorations, and will ignore all hints to the contrary, to
the point of drawing decorations at random locations on top of the
window.
Since CSD are enabled unconditionally, the GTK_CSD environment variable
is also not a suitable escape hatch.
In the grand tradition of asking ourselves if we should do something
just because we can, we should split the environment checks from the
checks on what the user requested; by doing that, we can also check
when enabling client-side decorations, and ideally bail out if needed.
https://bugzilla.gnome.org/show_bug.cgi?id=750343
William Hua [Thu, 21 May 2015 16:48:27 +0000 (11:48 -0500)]
mir: keep reference on queued events